Fire watches once immediately upon registration.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 19 Sep 2005 14:47:56 +0000 (14:47 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 19 Sep 2005 14:47:56 +0000 (14:47 +0000)
commite83a8e7c2bd64d7f9ec296844e28f3c338645f95
tree1300ef69b4cbd0d5176403749eabfd0727f1f17b
parente7dcd2ce65e37bc53b65d0af36a5da9d1747e643
Fire watches once immediately upon registration.
It matches the model of programming used to avoid races with watches,
and also makes re-establishing watches on daemon restart easier.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c
linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c
linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c
tools/xenstore/testsuite/07watch.test
tools/xenstore/testsuite/14complexperms.test
tools/xenstore/xenstored_watch.c
tools/xenstore/xs_test.c